package com.iflytek.yly.jetpackdemo.databinding;

import java.util.ArrayList;
import java.util.List;

public class RecyclerViewViewModel {

    public List<Book2> getBooks(){
        List<Book2> books = new ArrayList<>();
        for (int i = 0 ; i < 100 ; i++ ){
            Book2 book2 = new Book2("JetPackDemo " + i , "Chris " + i);
            books.add(book2);
        }
        return  books;
    }
}
